package com.jh.paymentchannel.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonFormat;
@Entity
@Table(name="t_hl_register")
public class HLRegister implements Serializable {
	@Id
	@Column(name="id")
	private int id;
	@Column(name="user_id")
	private String userId;
	@Column(name="phone")
	private String phone;
	@Column(name="name")
	private String name;
//	省份证号码
	@Column(name="card_no")
	private String cardNo;
//	卡类型，0信用卡1借记卡2提现卡
	@Column(name="card_type")
	private String cardType;
//	合利宝生成的唯一绑卡ID
	@Column(name="bind_id")
	private String bindId;
//	信用卡卡号
	@Column(name="bank_card")
	private String bankCard;
//	信用卡有效期年份
	@Column(name="bank_card_year")
	private String bankCardYear;
//	信用卡有效期月份
	@Column(name="bank_card_month")
	private String bankCardMonth;
//	信用卡安全码
	@Column(name="cvv")
	private String cvv;
//	账户状态：AVAILABLE("正常",1), FROZEN("冻结",2), FREEZE_DEBIT("冻结出帐",3), FREEZE_CREDIT("冻结入账",4), CANCELLED("已注销",5);
	@Column(name="status")
	private String status;
//	账户余额
	@Column(name="balance")
	private String balance;
//	冻结余额
	@Column(name="frozen_balance")
	private String frozenBalance;
//	银行名称
	@Column(name="bank_name")
	private String bankName;
//	单张卡每日最大交易笔数9
	@Column(name="limitimes")
	private String limitimes;
//	信用额度
	@Column(name="avaliable")
	private String avaliable;
//  到账日
	@Column(name="reciept_day")
	private String recieptDay;
//  还款日
	@Column(name="payment_day")
	private String paymentDay;
//  登录手机
	@Column(name="login_phone")
	private String loginPhone;
	
	
public String getLoginPhone() {
		return loginPhone;
	}
	public void setLoginPhone(String loginPhone) {
		this.loginPhone = loginPhone;
	}
public String getAvaliable() {
		return avaliable;
	}
	public void setAvaliable(String avaliable) {
		this.avaliable = avaliable;
	}
	public String getRecieptDay() {
		return recieptDay;
	}
	public void setRecieptDay(String recieptDay) {
		this.recieptDay = recieptDay;
	}
	public String getPaymentDay() {
		return paymentDay;
	}
	public void setPaymentDay(String paymentDay) {
		this.paymentDay = paymentDay;
	}
public String getLimitimes() {
		return limitimes;
	}
	public void setLimitimes(String limitimes) {
		this.limitimes = limitimes;
	}
public String getBankName() {
		return bankName;
	}
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	//	二次免验yes or no
	@Column(name="exemption")
	private String exemption;
	@Column(name="create_time")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	public String getExemption() {
		return exemption;
	}
	public void setExemption(String exemption) {
		this.exemption = exemption;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCardNo() {
		return cardNo;
	}
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	public String getBankCard() {
		return bankCard;
	}
	public void setBankCard(String bankCard) {
		this.bankCard = bankCard;
	}
	public String getBankCardYear() {
		return bankCardYear;
	}
	public void setBankCardYear(String bankCardYear) {
		this.bankCardYear = bankCardYear;
	}
	public String getBankCardMonth() {
		return bankCardMonth;
	}
	public void setBankCardMonth(String bankCardMonth) {
		this.bankCardMonth = bankCardMonth;
	}
	public String getCvv() {
		return cvv;
	}
	public void setCvv(String cvv) {
		this.cvv = cvv;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getBindId() {
		return bindId;
	}
	public void setBindId(String bindId) {
		this.bindId = bindId;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getBalance() {
		return balance;
	}
	public void setBalance(String balance) {
		this.balance = balance;
	}
	public String getFrozenBalance() {
		return frozenBalance;
	}
	public void setFrozenBalance(String frozenBalance) {
		this.frozenBalance = frozenBalance;
	}
	public String getCardType() {
		return cardType;
	}
	public void setCardType(String cardType) {
		this.cardType = cardType;
	}
	
}
